package com.bwda.dsrs.filecenter.domain.form.fileoutside;

import com.bwda.dsrs.base.centerbase.form.BaseQueryForm;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @description: 查询外接文件form
 * @author: yangjun
 * @create: 2019-04-28 11:15
 */
@ApiModel(description = "文件外接目录")
@Data
public class FileOutsideQueryForm extends BaseQueryForm implements Serializable {

    @ApiModelProperty(value = "外接ftpId")
    @NotNull(message = "缺少外接FTP")
    private Integer ftpId;

    /**
     * /bbb/2019/abc 这种格式
     */
    @ApiModelProperty(value = "文件路径")
    @NotNull(message = "缺少文件路径")
    private String path;


}